<!DOCTYPE html>
<html>
<head>
<base href="${basePath}">
<meta charset="UTF-8">
<title>收银日报表明细</title>

<link rel="stylesheet" type="text/css" href="${resourcePath}/css/basic.css" />
<link rel="stylesheet" type="text/css" href="${viewPath}/resources/css/cash.css" />
</head>

<body style="background:#fff;">
	$!{include("import_js_css.html")}
	$!{include("header.html")}

	<script type="text/javascript">
		$(document).ready(function(){
			$("#inputStartDate1").datetimepicker({
				language : "zh-CN"
			});
			$("#inputStartDate2").datetimepicker({
				language : "zh-CN"
			});
		});
	</script>
	<!--#var(List<CashDetail> cashDetailList)-->
	<div style="margin-top:-20px;">
		<div style="float:left; margin-top:20px; margin-left:25px;">
			分馆&nbsp;&nbsp;
			<!-- #for(CashDetail cash : cashDetailList) -->
				<!-- #if(for.index == 0) -->
					${cash.organizationName}
				<!-- #end -->
			<!-- #end -->
		</div>
		<form action="${basePath}/yueyogaAdmin/findCashByType.jhtml" method="POST" name="cardreports">
			<div style="float:left; margin-top:20px; margin-left:160px; margin-right:5px;">日期</div>
			<div id="inputStartDate1" class="input-group date"
				data-date-format="YYYY-MM-DD" style="float:left; width:200px; margin-top:15px;">
				<input id="inputStart1" name="startdate" type='text' class="form-control" value="${startdate}" />
				<span class="input-group-addon">
					<span class="glyphicon glyphicon-time"></span>
				</span>
			</div>
			<div style="float:left; margin-top:20px; margin-left:5px; margin-right:5px;">至</div>
			<div id="inputStartDate2" class="input-group date"
				data-date-format="YYYY-MM-DD" style="float:left; width:200px; margin-top:15px;">
				<input id="inputStart2" name="enddate" type='text' class="form-control" value="${enddate}" />
				<span class="input-group-addon">
					<span class="glyphicon glyphicon-time"></span>
				</span>
			</div>
			<input name="type" type="hidden" value="${type}">
			<div style="float:left; margin-top:15px;">
				<input id="but" type="submit" class="btn btn-ade-default" style="background:#dddd; margin-left:5px;" value="搜索"></input>
			</div>
		</form>
	</div>
 	
 	<br><br><br>
 	
	<div class="container menu_all" style="width:1420px !important;  margin-top:10px;">
			
		<!--#if(cashDetailList == null)-->
			<div class="panel-body">
				<p>没有符合条件的数据</p>
			</div>
		<!--#else-->
			<div>
				<table id="cash_table" class="table table-bordered table-hover table-condensed" style="text-align: center;">
					
					<tr class="tr-edit">
						<td rowspan="2">订单号</td>
						<td rowspan="2">会员</td>
						<td rowspan="2">电话</td>
						<td rowspan="2">购买内容</td>
						<td colspan="4">支付方式</td>
					</tr>
					<tr>
						<td>现金</td>
						<td>刷卡</td>
						<td>转账</td>
						<td>支票</td>
					</tr>
					
					<!-- #for(CashDetail cash : cashDetailList) -->
						<tr>
							<td>
								${cash.orderId}
							</td>
							<td>
								${cash.memberName}
								<!-- #if(cash.sex == null) -->
								<!-- #else -->
									${cash.sex}
								<!-- #end -->
							</td>
							<td>
								${cash.phone}
							</td>
							<td>
								${cash.productName}
							</td>
							<td>
								${cash.xj.format("0.00")}
							</td>
							<td>
								${cash.sk.format("0.00")}
							</td>
							<td>
								${cash.zz.format("0.00")}
							</td>
							<td>
								${cash.zp.format("0.00")}
							</td>
						</tr>
					<!-- #end -->
				</table>
			</div>
		<!--#end-->
	</div>
</body>
</html>